﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KBS8.Shared;

namespace KBS8.Data.GdfDataFilter
{
    class ParseHandler : OutputHandler
    {
        /// <summary>
        /// The mehtod performs the action of the handler
        /// </summary>
        public override void Handle()
        {
            AreaFeature[] areaFeatures = Output.AreaFeatures.ToArray();
            LineFeature[] lineFeatures = Output.LineFeatures.ToArray();
            ComplexFeature[] complexFeatures = Output.ComplexFeatures.ToArray();
            PointFeature[] pointFeatures = Output.PointFeatures.ToArray();

            Gate.ParseData(out areaFeatures, out lineFeatures, out complexFeatures, out pointFeatures);
            base.Handle();
        }
    }
}
